
import java.io.Serializable;


/**
 * An object that represent the login request from 
 *  a DroidChat user to the DroidChat server
 *  
 *  a subclass of "DroidChatMessage"
 */
public class ClientLoginMessage extends DroidChatMessage implements Serializable{

	private String username;
	private String password;

	public ClientLoginMessage(String username, String password) {
		super(DroidChatMessage.CLIENT_LOGIN);
		this.username = username;
		this.password = password;
	}

	public String getUsername() {		return username;	}
	public String getPassword() {		return password;	}
	
	public String toString(){
		return "ClientLoginMessage: username=" + this.username + " password=" + this.password;
	}
}
